package com.factory._16state;

/**
 * 开始环节
 * @author Qinye
 * @date 2023/8/13 17:57
 */
public class Start implements  FlowTask{
    @Override
    public void next(WorkFlow workFlow) {
        System.out.println("保存开始环节信息");
        workFlow.changeFlowTask(new Middle());
    }

    @Override
    public void back(WorkFlow workFlow) {
        System.out.println("这已经是第一步");
    }
}
